<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GameWinners extends Model
{
    protected $table = 'game_winners';

    protected $guarded = [''];

    protected function getDateFormat()
    {
        return 'U';
    }

    public function prize()
    {
        return $this->belongsTo('App\Models\GamePrize', 'prize_id', 'id');
    }

    public function user()
    {
        return $this->belongsTo('App\Models\User', 'uid', 'uid');
    }



}
